CC = gcc
SDLDIR = D:\MinGW64\x86_64-w64-mingw32
CFLAGS = -I $(SDLDIR)\include\SDL2 -L $(SDLDIR)\lib -lmingw32 -lSDL2main -lSDL2 -O2 -mwindows

TARGET = texture

$(TARGET).exe: $(TARGET).c
	$(CC) $^ $(CFLAGS) -o $@

clean: 
	del *.exe
